package com.example.yunbiji0314.service.iml;

import com.example.yunbiji0314.dao.TRoleDao;
import com.example.yunbiji0314.pojo.TRole;
import com.example.yunbiji0314.service.TRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TRoleServiceImpl implements TRoleService {

    @Autowired
    private TRoleDao tRoleDao;
    @Override
    public List<TRole> findById(Integer id) {
        return tRoleDao.findById(id);
    }
}
